\(\int x \sqrt {a+b \text {arcsinh}(c x)} \, dx\) [137]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [F]
   Fricas [F(-2)]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 14, antiderivative size = 145 \[ \int x \sqrt {a+b \text {arcsinh}(c x)} \, dx=\frac {\sqrt {a+b \text {arcsinh}(c x)}}{4 c^2}+\frac {1}{2} x^2 \sqrt {a+b \text {arcsinh}(c x)}-\frac {\sqrt {b} e^{\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erf}\left (\frac {\sqrt {2} \sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{16 c^2}-\frac {\sqrt {b} e^{-\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erfi}\left (\frac {\sqrt {2} \sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{16 c^2} \]

[Out]

-1/32*exp(2*a/b)*erf(2^(1/2)*(a+b*arcsinh(c*x))^(1/2)/b^(1/2))*b^(1/2)*2^(1/2)*Pi^(1/2)/c^2-1/32*erfi(2^(1/2)*
(a+b*arcsinh(c*x))^(1/2)/b^(1/2))*b^(1/2)*2^(1/2)*Pi^(1/2)/c^2/exp(2*a/b)+1/4*(a+b*arcsinh(c*x))^(1/2)/c^2+1/2
*x^2*(a+b*arcsinh(c*x))^(1/2)

Rubi [A] (verified)

Time = 0.27 (sec) , antiderivative size = 145, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5777, 5819, 3393, 3388, 2211, 2236, 2235} \[ \int x \sqrt {a+b \text {arcsinh}(c x)} \, dx=-\frac {\sqrt {\frac {\pi }{2}} \sqrt {b} e^{\frac {2 a}{b}} \text {erf}\left (\frac {\sqrt {2} \sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{16 c^2}-\frac {\sqrt {\frac {\pi }{2}} \sqrt {b} e^{-\frac {2 a}{b}} \text {erfi}\left (\frac {\sqrt {2} \sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{16 c^2}+\frac {\sqrt {a+b \text {arcsinh}(c x)}}{4 c^2}+\frac {1}{2} x^2 \sqrt {a+b \text {arcsinh}(c x)} \]

[In]

Int[x*Sqrt[a + b*ArcSinh[c*x]],x]

[Out]

Sqrt[a + b*ArcSinh[c*x]]/(4*c^2) + (x^2*Sqrt[a + b*ArcSinh[c*x]])/2 - (Sqrt[b]*E^((2*a)/b)*Sqrt[Pi/2]*Erf[(Sqr
t[2]*Sqrt[a + b*ArcSinh[c*x]])/Sqrt[b]])/(16*c^2) - (Sqrt[b]*Sqrt[Pi/2]*Erfi[(Sqrt[2]*Sqrt[a + b*ArcSinh[c*x]]
)/Sqrt[b]])/(16*c^2*E^((2*a)/b))

Rule 2211

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - c*(
f/d)) + f*g*(x^2/d)), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2235

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erfi[(c + d*x)*Rt[b*Log[F], 2
]]/(2*d*Rt[b*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2236

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erf[(c + d*x)*Rt[(-b)*Log[F],
 2]]/(2*d*Rt[(-b)*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 3388

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/(E^(
I*k*Pi)*E^(I*(e + f*x))), x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*k*Pi)*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d
, e, f, m}, x] && IntegerQ[2*k]

Rule 3393

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)]^(n_), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin
[e + f*x]^n, x], x] /; FreeQ[{c, d, e, f, m}, x] && IGtQ[n, 1] && ( !RationalQ[m] || (GeQ[m, -1] && LtQ[m, 1])
)

Rule 5777

Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)*((a + b*ArcSinh[c*x])^n/(
m + 1)), x] - Dist[b*c*(n/(m + 1)), Int[x^(m + 1)*((a + b*ArcSinh[c*x])^(n - 1)/Sqrt[1 + c^2*x^2]), x], x] /;
FreeQ[{a, b, c}, x] && IGtQ[m, 0] && GtQ[n, 0]

Rule 5819

Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[(1/(b*
c^(m + 1)))*Simp[(d + e*x^2)^p/(1 + c^2*x^2)^p], Subst[Int[x^n*Sinh[-a/b + x/b]^m*Cosh[-a/b + x/b]^(2*p + 1),
x], x, a + b*ArcSinh[c*x]], x] /; FreeQ[{a, b, c, d, e, n}, x] && EqQ[e, c^2*d] && IGtQ[2*p + 2, 0] && IGtQ[m,
 0]

Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} x^2 \sqrt {a+b \text {arcsinh}(c x)}-\frac {1}{4} (b c) \int \frac {x^2}{\sqrt {1+c^2 x^2} \sqrt {a+b \text {arcsinh}(c x)}} \, dx \\ & = \frac {1}{2} x^2 \sqrt {a+b \text {arcsinh}(c x)}-\frac {\text {Subst}\left (\int \frac {\sinh ^2\left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \text {arcsinh}(c x)\right )}{4 c^2} \\ & = \frac {1}{2} x^2 \sqrt {a+b \text {arcsinh}(c x)}+\frac {\text {Subst}\left (\int \left (\frac {1}{2 \sqrt {x}}-\frac {\cosh \left (\frac {2 a}{b}-\frac {2 x}{b}\right )}{2 \sqrt {x}}\right ) \, dx,x,a+b \text {arcsinh}(c x)\right )}{4 c^2} \\ & = \frac {\sqrt {a+b \text {arcsinh}(c x)}}{4 c^2}+\frac {1}{2} x^2 \sqrt {a+b \text {arcsinh}(c x)}-\frac {\text {Subst}\left (\int \frac {\cosh \left (\frac {2 a}{b}-\frac {2 x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \text {arcsinh}(c x)\right )}{8 c^2} \\ & = \frac {\sqrt {a+b \text {arcsinh}(c x)}}{4 c^2}+\frac {1}{2} x^2 \sqrt {a+b \text {arcsinh}(c x)}-\frac {\text {Subst}\left (\int \frac {e^{-i \left (\frac {2 i a}{b}-\frac {2 i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arcsinh}(c x)\right )}{16 c^2}-\frac {\text {Subst}\left (\int \frac {e^{i \left (\frac {2 i a}{b}-\frac {2 i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arcsinh}(c x)\right )}{16 c^2} \\ & = \frac {\sqrt {a+b \text {arcsinh}(c x)}}{4 c^2}+\frac {1}{2} x^2 \sqrt {a+b \text {arcsinh}(c x)}-\frac {\text {Subst}\left (\int e^{\frac {2 a}{b}-\frac {2 x^2}{b}} \, dx,x,\sqrt {a+b \text {arcsinh}(c x)}\right )}{8 c^2}-\frac {\text {Subst}\left (\int e^{-\frac {2 a}{b}+\frac {2 x^2}{b}} \, dx,x,\sqrt {a+b \text {arcsinh}(c x)}\right )}{8 c^2} \\ & = \frac {\sqrt {a+b \text {arcsinh}(c x)}}{4 c^2}+\frac {1}{2} x^2 \sqrt {a+b \text {arcsinh}(c x)}-\frac {\sqrt {b} e^{\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erf}\left (\frac {\sqrt {2} \sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{16 c^2}-\frac {\sqrt {b} e^{-\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erfi}\left (\frac {\sqrt {2} \sqrt {a+b \text {arcsinh}(c x)}}{\sqrt {b}}\right )}{16 c^2} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.06 (sec) , antiderivative size = 111, normalized size of antiderivative = 0.77 \[ \int x \sqrt {a+b \text {arcsinh}(c x)} \, dx=\frac {e^{-\frac {2 a}{b}} \left (-b \sqrt {-\frac {a+b \text {arcsinh}(c x)}{b}} \Gamma \left (\frac {3}{2},-\frac {2 (a+b \text {arcsinh}(c x))}{b}\right )+b e^{\frac {4 a}{b}} \sqrt {\frac {a}{b}+\text {arcsinh}(c x)} \Gamma \left (\frac {3}{2},\frac {2 (a+b \text {arcsinh}(c x))}{b}\right )\right )}{8 \sqrt {2} c^2 \sqrt {a+b \text {arcsinh}(c x)}} \]

[In]

Integrate[x*Sqrt[a + b*ArcSinh[c*x]],x]

[Out]

(-(b*Sqrt[-((a + b*ArcSinh[c*x])/b)]*Gamma[3/2, (-2*(a + b*ArcSinh[c*x]))/b]) + b*E^((4*a)/b)*Sqrt[a/b + ArcSi
nh[c*x]]*Gamma[3/2, (2*(a + b*ArcSinh[c*x]))/b])/(8*Sqrt[2]*c^2*E^((2*a)/b)*Sqrt[a + b*ArcSinh[c*x]])

Maple [F]

\[\int x \sqrt {a +b \,\operatorname {arcsinh}\left (c x \right )}d x\]

[In]

int(x*(a+b*arcsinh(c*x))^(1/2),x)

[Out]

int(x*(a+b*arcsinh(c*x))^(1/2),x)

Fricas [F(-2)]

Exception generated. \[ \int x \sqrt {a+b \text {arcsinh}(c x)} \, dx=\text {Exception raised: TypeError} \]

[In]

integrate(x*(a+b*arcsinh(c*x))^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

Sympy [F]

\[ \int x \sqrt {a+b \text {arcsinh}(c x)} \, dx=\int x \sqrt {a + b \operatorname {asinh}{\left (c x \right )}}\, dx \]

[In]

integrate(x*(a+b*asinh(c*x))**(1/2),x)

[Out]

Integral(x*sqrt(a + b*asinh(c*x)), x)

Maxima [F]

\[ \int x \sqrt {a+b \text {arcsinh}(c x)} \, dx=\int { \sqrt {b \operatorname {arsinh}\left (c x\right ) + a} x \,d x } \]

[In]

integrate(x*(a+b*arcsinh(c*x))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*arcsinh(c*x) + a)*x, x)

Giac [F]

\[ \int x \sqrt {a+b \text {arcsinh}(c x)} \, dx=\int { \sqrt {b \operatorname {arsinh}\left (c x\right ) + a} x \,d x } \]

[In]

integrate(x*(a+b*arcsinh(c*x))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*arcsinh(c*x) + a)*x, x)

Mupad [F(-1)]

Timed out. \[ \int x \sqrt {a+b \text {arcsinh}(c x)} \, dx=\int x\,\sqrt {a+b\,\mathrm {asinh}\left (c\,x\right )} \,d x \]

[In]

int(x*(a + b*asinh(c*x))^(1/2),x)

[Out]

int(x*(a + b*asinh(c*x))^(1/2), x)